diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-05-28 00:17:25 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-05-28 00:17:25 +0000 |
| commit | 44356f1b203da5169db42950a42a8146f612c674 (patch) | |
| tree | c127d21e1342330c82acb5392e961e5cc4ff3c22 /app/[lng]/evcp/(evcp)/items-tech/layout.tsx | |
| parent | 1c1c1019b6af72771358d387a2ae70ca965cd9f9 (diff) | |
(대표님) app router 파트 커밋
Diffstat (limited to 'app/[lng]/evcp/(evcp)/items-tech/layout.tsx')
| -rw-r--r-- | app/[lng]/evcp/(evcp)/items-tech/layout.tsx | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/app/[lng]/evcp/(evcp)/items-tech/layout.tsx b/app/[lng]/evcp/(evcp)/items-tech/layout.tsx deleted file mode 100644 index d375059b..00000000 --- a/app/[lng]/evcp/(evcp)/items-tech/layout.tsx +++ /dev/null @@ -1,38 +0,0 @@ -import * as React from "react"
-import { ItemTechContainer } from "@/components/items-tech/item-tech-container"
-import { Shell } from "@/components/shell"
-import { DataTableSkeleton } from "@/components/data-table/data-table-skeleton"
-
-// Layout 컴포넌트는 서버 컴포넌트입니다
-export default function ItemsShipLayout({
- children,
-}: {
- children: React.ReactNode
-}) {
- // 아이템 타입 정의
- const itemTypes = [
- { id: "ship", name: "조선 아이템" },
- { id: "top", name: "해양 TOP" },
- { id: "hull", name: "해양 HULL" },
- ]
-
- return (
- <Shell className="gap-4">
- <React.Suspense
- fallback={
- <DataTableSkeleton
- columnCount={6}
- searchableColumnCount={1}
- filterableColumnCount={2}
- cellWidths={["10rem", "40rem", "12rem", "12rem", "8rem", "8rem"]}
- shrinkZero
- />
- }
- >
- <ItemTechContainer itemTypes={itemTypes}>
- {children}
- </ItemTechContainer>
- </React.Suspense>
- </Shell>
- )
-}
|
